//app.js
var qcloud = require('./vendor/wafer2-client-sdk/index')
var config = require('./config')

App({
  globalData: {
    userInfo: undefined,
    record: undefined
  },
  onLaunch: function () {
      qcloud.setLoginUrl(config.service.loginUrl)
      wx.showShareMenu({
        withShareTicket: true
      })
  }
})